<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/cases/source/";  //应用的地址名
String addActionName = basePath+"CaseSourceDrawApprove_drawApprove.action";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>稽查案源提请</title>
<script type="text/javascript">
<!--
           $(function(){
               $('#drawCode').validatebox({
                   required:'true',
                   missingMessage:'请填写编号',
                   validType:'length[1,20]'
               });
               
               $('#taxpayer').validatebox({
                   required:'true',
                   missingMessage:'请填写纳税人',
                   validType:'length[1,25]'
               });
               
	           //点击添加按钮操作
			   $('#addBtn').click(function(){
                  $('#addForm').submit();
	            });
	            //表单验证及提交处理操作
	           $('#addForm').form({
			        url:'<%=addActionName%>',
			        onSubmit: function(){
			           if($(this).form('validate')){
			                 $.util.showLoading();
			                 $('#operateWindow').window('close');
                            return true;
			             }else{
			                return false;
			             }
			        },
			        success:function(data){
			            $.util.removeLoading();
                        returnOptMsg(data);
			        }
				});
	           $('#fileTr').css('display',$('#fileTd').html()!=''?"":"none");
			    $('#uploadFile').click(function(){
			    	if($('#uploadFile').css('color')=='gray')
			    		return;
			    	fileupload('fileId',null,'fileTd','approve',{param:{urlSplit:'&nbsp;'}},function(){
			    		$('#fileTr').css('display',$('#fileTd').html()!=''?"":"none");
			    	});
			    }); 
           });
//-->
</script>
<style  type="text/css">
 .tb_add_th td input.lineText {border-bottom:1px solid #ccc; border-top:0px; border-left:0px; border-right:0px; background-color:transparent;}
</style>
</head>
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" >
<form id="addForm" method="post">
<s:hidden name="drawAppr.caseId"/>
<s:hidden id="fileId" name="drawAppr.fileId"/>
<table align="center" width="100%"  class="tb_add_th">
	<tr><th>编号:</th><td colspan="3"><s:textfield id="drawCode" name="drawAppr.drawCode" style="width:140px;"/></td></tr>
	<tr><th>提请单位:</th><td><s:property value="drawAppr.drawDept"/><s:hidden  name="drawAppr.drawDept" /><s:hidden  name="drawAppr.drawDeptId" /></td>
	     <th>案源来源:</th><td><s:property value="drawAppr.caseFromName"/><s:hidden  name="drawAppr.caseFromNum" /><s:hidden  name="drawAppr.caseFromName" /></td>
	</tr>
	<tr><th>纳税人:</th><td><s:textfield id="taxpayer" name="drawAppr.taxpayer" style="width:140px;"/></td>
	    <th>纳税人识别号:</th><td><s:textfield id="taxpayerNumber" name="drawAppr.taxpayerNumber" style="width:140px;" readonly="true"/></td>
	</tr>
	<tr><th>所属征管局:</th><td><s:property value="drawAppr.collectionDept"/><s:hidden name="drawAppr.collectionDept"/><s:hidden name="drawAppr.collectionDeptId"/></td>
	    <th>管辖稽查局:</th><td><s:property value="drawAppr.inspectionDept"/><s:hidden name="drawAppr.inspectionDept"/><s:hidden name="drawAppr.inspectionDeptId"/></td>
	</tr>
	<tr><th>涉嫌违法类型:</th><td colspan="3"><s:property value="drawAppr.illegalTypeName"/><s:hidden name="drawAppr.illegalTypeName"/><s:hidden name="drawAppr.illegalTypeNum"/></td>
	</tr>
	<tr><th rowspan="2" style="text-align:center">提请（移送）理由</th><td colspan="3"><s:textarea id="drawReason"  name="drawAppr.drawReason" rows="4" cols="50" style="width:425px;height:50px;"/></td></tr>
	<tr><td colspan="3" align="center">经办人&nbsp;<s:textfield id="handlePerson"  name="drawAppr.handlePerson" style="width:100px;" cssClass="lineText"/>
	日期&nbsp;<input type="text" id="handleDate"  name="drawAppr.handleDate"  value="<s:date name="drawAppr.handleDate" format="yyyy-MM-dd"/>" style="width:100px;" class="Wdate lineText" onclick="WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd'})" readonly="true"/>
	</td></tr>
	<tr><th rowspan="2" style="text-align:center">提请单位意见</th><td colspan="3"><s:textarea id="drawDeptAdvice"  name="drawAppr.drawDeptAdvice" style="width:425px;height:50px;"/></td></tr>
	<tr><td colspan="3" align="center">审批人&nbsp;<s:textfield id="drawDeptLeader"  name="drawAppr.drawDeptLeader" style="width:100px;" cssClass="lineText"/>
	     日期&nbsp;<input type="text" id="drawApprDate"  name="drawAppr.drawApprDate" value="<s:date name="drawAppr.drawApprDate" format="yyyy-MM-dd"/>" style="width:100px;" class="Wdate lineText" onclick="WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd'})" readonly="true"/>
	    </td>
	</tr>
	
	<tr><th rowspan="2" style="text-align:center">市局稽查局案源<br/>管理部门意见</th><td colspan="3"><s:textarea id="manageDeptAdvice"  name="drawAppr.manageDeptAdvice" style="width:425px;height:50px;"/></td></tr>
	<tr><td colspan="3" align="center">审批人&nbsp;<s:textfield id="manageDeptLeader"  name="drawAppr.manageDeptLeader" style="width:100px;" cssClass="lineText"/>
	     日期&nbsp;<input type="text" id="manageApprDate"  name="drawAppr.manageApprDate" value="<s:date name="drawAppr.manageApprDate" format="yyyy-MM-dd"/>" style="width:100px;" class="Wdate lineText" onclick="WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd'})" readonly="true"/>
	    </td>
	</tr>
	
	<tr><th rowspan="2" style="text-align:center">市局稽查局分<br/>管局领导意见</th><td colspan="3"><s:textarea id="leaderAdvice"  name="drawAppr.leaderAdvice" style="width:425px;height:50px;"/></td></tr>
	<tr><td colspan="3" align="center">审批人&nbsp;<s:textfield id="leader"  name="drawAppr.leader" style="width:100px;" cssClass="lineText"/>
	     日期&nbsp;<input type="text" id="leaderApprDate"  name="drawAppr.leaderApprDate" value="<s:date name="drawAppr.leaderApprDate" format="yyyy-MM-dd"/>" style="width:100px;" class="Wdate lineText" onclick="WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd'})" readonly="true"/>
	    </td>
	</tr>
	
	<tr><th rowspan="2" style="text-align:center">提请单位意见</th><td colspan="3"><s:textarea id="directorAdvice"  name="drawAppr.directorAdvice" label="提请单位意见" style="width:425px;height:50px;"/></td></tr>
	<tr><td colspan="3" align="center">审批人&nbsp;<s:textfield id="director"  name="drawAppr.director" style="width:100px;" cssClass="lineText"/>
	     日期&nbsp;<input type="text" id="directorApprDate"  name="drawAppr.directorApprDate" value="<s:date name="drawAppr.directorApprDate" format="yyyy-MM-dd"/>" style="width:100px;" class="Wdate lineText" onclick="WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd'})" readonly="true"/>
	    </td>
	</tr>
	 <tr><th align="left">审批复印件：</th><td colspan=3><a id="uploadFile" href="javascript:void(0)">点击上传复印件</a></td></tr>
     <tr id="fileTr" colspan=4><td id="fileTd" colspan="4">
	  <s:property value="drawAppr.fileHtml" escape="false"/>
	  </td>
  </tr>
</table>
</form>
</body>
</html>


